package com.eduask.beans;

import java.util.Date;

public class CarSchema {
	private int id;
	private String carOrder;
	private Date startTime;
	private int clock;
	private String startStation;
	private String finalStation;
	private int roadLong;
	private int isRun;
	private int vainChair;
	private String carModel;
	private double ticketPrice;

	@Override
	public String toString() {
		return "CarSchema [id=" + id + ", carOrder=" + carOrder + ", startTime=" + startTime + ", clock=" + clock
				+ ", startStation=" + startStation + ", finalStation=" + finalStation + ", roadLong=" + roadLong
				+ ", isRun=" + isRun + ", vainChair=" + vainChair + ", carModel=" + carModel + ", ticketPrice="
				+ ticketPrice + "]";
	}

	public CarSchema() {
		super();
	}

	public CarSchema(int id, String carOrder, Date startTime, int clock, String startStation, String finalStation,
			int roadLong, int isRun, int vainChair, String carModel, double ticketPrice) {
		super();
		this.id = id;
		this.carOrder = carOrder;
		this.startTime = startTime;
		this.clock = clock;
		this.startStation = startStation;
		this.finalStation = finalStation;
		this.roadLong = roadLong;
		this.isRun = isRun;
		this.vainChair = vainChair;
		this.carModel = carModel;
		this.ticketPrice = ticketPrice;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getCarOrder() {
		return carOrder;
	}

	public void setCarOrder(String carOrder) {
		this.carOrder = carOrder;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public int getClock() {
		return clock;
	}

	public void setClock(int clock) {
		this.clock = clock;
	}

	public String getStartStation() {
		return startStation;
	}

	public void setStartStation(String startStation) {
		this.startStation = startStation;
	}

	public String getFinalStation() {
		return finalStation;
	}

	public void setFinalStation(String finalStation) {
		this.finalStation = finalStation;
	}

	public int getRoadLong() {
		return roadLong;
	}

	public void setRoadLong(int roadLong) {
		this.roadLong = roadLong;
	}

	public int getIsRun() {
		return isRun;
	}

	public void setIsRun(int isRun) {
		this.isRun = isRun;
	}

	public int getVainChair() {
		return vainChair;
	}

	public void setVainChair(int vainChair) {
		this.vainChair = vainChair;
	}

	public String getCarModel() {
		return carModel;
	}

	public void setCarModel(String carModel) {
		this.carModel = carModel;
	}

	public double getTicketPrice() {
		return ticketPrice;
	}

	public void setTicketPrice(double ticketPrice) {
		this.ticketPrice = ticketPrice;
	}
}
